home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 5
/
Aminet 5 - March 1995.iso
/
Aminet
/
util
/
libs
/
type1beta5.lha
/
type1
/
src
/
smakefile
< prev
next >
Wrap
Makefile
|
1995-01-08
|
2KB
|
98 lines
##
# Makefile for type1.library
##
##
# Configurable Section
##
#
# Which CPU/FPU combination?
# The first should work on all Amiga's. The second is for 020/030/040 with 882 FPU.
#
#PROCESSOR = CPU=68000
#MATHLIB = LIB:scm.lib
#MATHOPT = MATH=STANDARD DEFINE=MATHSTANDARD
PROCESSOR = CPU=68030
MATHLIB = LIB:scm881.lib
MATHOPT = MATH=68882 DEFINE=MATH881
#
# Debugging/Optimization flags
# The first is to produce a library w/ debugging info, and w/o optimization.
#
#OPTIM = DEBUG=sf NOOPTIMIZE
#USERLFLAGS = SMALLCODE SMALLDATA DEBUG
OPTIM = $(PROCESSOR) NODEBUG OPTIMIZE STRMERGE OPTIMTIME OPTSCHED OPTPEEP
USERLFLAGS = SMALLCODE SMALLDATA NODEBUG
##
# Filenames
##
ASMSRCS = amisht1eexec.a fillrun.a
CSRCS = type1lib.c amishio.c curves.c regions.c t1objects.c type1interface.c \
amishmalloc.c fontfcn.c lines.c scanfont.c t1snap.c \
amisht1funcs.c globals.c paths.c spaces.c token.c util.c \
arith.c hints.c readfont.c type1.c
LIBOBJS = lib:libent.o lib:libinitr.o
ASMOBJS = amisht1eexec.o fillrun.o
COBJS = type1lib.o amishio.o curves.o regions.o t1objects.o type1interface.o \
amishmalloc.o fontfcn.o lines.o scanfont.o t1snap.o \
amisht1funcs.o globals.o paths.o spaces.o token.o util.o \
arith.o hints.o readfont.o type1.o
SRCS = $(ASMSRCS) $(CSRCS)
OBJS = $(ASMOBJS) $(COBJS)
MFILE = type1library.m
HDR = t1.gst
FDFILE = type1_lib.fd
##
# Miscellaneous
##
LIBS = LIB:pools.lib $(MATHLIB) LIB:sc.lib LIB:amiga.lib # LIB:debug.lib
CFLAGS = LIBCODE NOSTACKCHECK NOCHKABORT NOICONS UTILLIB STRUCTUREEQUIVALENCE $(MATHOPT) $(DEBUG) $(OPTIM)
LFLAGS = LIBPREFIX _ LIBFD $(FDFILE) LIBVERSION 1 LIBREVISION 0 NOICONS MAP $(MFILE) XFHLS SWIDTH 16 PLAIN WITH LIB:utillib.with $(USERLFLAGS)
##
# Rules
##
.c.o: $(HDR)
sc $(CFLAGS) GST=$(HDR) $*
.a.o:
asm -iINCLUDE: $*
# hx68 from $*.a to $*.o addsym debug incdir include:
type1.library: $(HDR) $(OBJS)
slink $(LFLAGS) FROM $(LIBOBJS) $(OBJS) TO type1.library LIB $(LIBS)
$(HDR): global.h t1gst.c
sc $(CFLAGS) NOOBJNAME MAKEGST=$(HDR) t1gst.c
readfont.o: readfont.c
sc $(CFLAGS) $*
type1lib.o: type1lib.c
sc $(CFLAGS) $*
clean:
gst UNLOAD prog:src/type1/lib/t1.gst
-delete $(OBJS) type1.library $(HDR) $(MFILE)
install:
-copy type1.library /libs/type1.library
removelib type1.library
##
# Dependencies
##